import request from "@/utils/request";

export function getProjectKeywordApi(): Promise<ResType> {
    return request({
        url: "/GEOCustomerApi/AddKeywordsViewNew",
        method: "get",
    });
}
export function exportKeywordApi(data: any): Promise<ResType> {
    return request({
        url: "/GEOCustomerApi/KeywordsExportNew",
        method: "post",
        data: data,
        headers: {
            "Content-Type": "application/json",
        },
    });
}

export function getCombinationWordsApi(Params: any): Promise<ResType> {
    return request({
        url: "/GEOCustomerApi/SelectComposeByID",
        method: "get",
        params: Params,
    });
}

export function getQuestionPreviewApi(data: any): Promise<ResType> {
    return request({
        url: "/GEOCustomerApi/Keyword_CombinationList",
        method: "post",
        data: data,
    });
}

export function combineWordsApi(data: any): Promise<ResType> {
    return request({
        url: "/GEOCustomerApi/Keyword_CombinationList",
        method: "post",
        data: data,
        headers: {
            "Content-Type": "application/json",
        },
    });
}